import urllib2
import sys
import re
import base64
import json
import time
from urlparse import urlparse 
a=time.time()
for i in range(10):
    req = urllib2.Request("http://www.baidu.com")
    handle = urllib2.urlopen(req)
    thepage = handle.read()
    print thepage
print time.time()-a